package com.core.framework.db.jdbc;

import javax.annotation.Resource;
import javax.sql.DataSource;

import org.springframework.jdbc.core.JdbcTemplate;
/**
 * JdbcDao    数据库处理类
 * @author 刘涛
 * @since Jun 19, 2012
 * @param <T>
 * @param <PK>
 */
public  class JdbcDao extends JdbcTemplate
{
	@Resource
	private DataSource dataSource;  
	public DataSource getDataSource() {
		return dataSource;
	}
	public void setDataSource(DataSource dataSource) {
		this.dataSource = dataSource;
	}
	public JdbcTemplate getJdbcTemplate() {
		return this;
	}
	
	
	
}
